<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    textarea {
      resize: none;
    }
  </style>
</head>
<body ng-app="myApp">
<div ng-controller="MyCtrl">
  <h2>我的笔记</h2>
  <textarea cols="30" rows="10" ng-model="message"></textarea>
  <div>
    <button ng-click="save()">保存</button>
    <button ng-click="read()">读取</button>
    <button ng-click="remove()">删除</button>
  </div>
  <p>剩余的字数: {{getCount()}}</p>
</div>
<script type="text/javascript" src="../../js/angular-1.5.5/angular.js"></script>
<script type="text/javascript" src="app.js"></script>
</body>

</html>